package com.schoolCommunity.service;

import com.schoolCommunity.entity.ForIndexMessage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.schoolCommunity.entity.Information;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author YTH
 * @since 2020-10-08
 */
public interface ForIndexMessageService extends IService<ForIndexMessage> {

    //管理员功能，删除某条留言
    public Information DeleteMessage(long id);

    //获取某个介绍下面的留言
    public Information getMessageForIndex(long id);

    //添加留言
    public Information insertMessage(ForIndexMessage forIndexMessage);

    //点赞某条介绍的留言
    public Information AddLovesForIndexMessage(long id, long memberId);


}
